﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DormMS.Model
{
    /// <summary>
    /// 用户信息类
    /// </summary>
    public class UserInfo : Entity
    {
        /// <summary>
        /// 
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 角色
        /// </summary>
        public int GroupId { get; set; }
        /// <summary>
        /// 真实姓名
        /// </summary>
        public string RealName { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        public string Avatar { get; set; }
        /// <summary>
        /// 邮箱
        /// </summary>
        public string Email { get; set; }
        /// <summary>
        /// 手机
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int UserState { get; set; }

        public int DepartmentId { get; set; }

        public string DynamicPassword { get; set; }

        public string IdCard { get; set; }

        public int IsTeacher { get; set; }

        public int Sex { get; set; }

        public string Picture { get; set; }

        public string AuthorityGroup { get; set; }

        public int ClassId { get; set; }

    }
}
